﻿
namespace NClass.StubLanguage
{
	public class StubDelegate : Core.DelegateType
	{
		public StubDelegate() : base("NewDelegate") { }

		protected override string DefaultReturnType { get { return "object"; } }

		public override Core.DelegateType Clone()
		{
			return new StubDelegate();
		}

		public override Core.AccessModifier DefaultAccess { get { return Core.AccessModifier.Default; } }

		public override Core.Language Language { get { return StubLanguage.Instance; } }

		public override string GetDeclaration()
		{
			return Name;
		}
	}
}
